//
//  PlayerDetailsTableViewCell.m
//  BobNews
//
//  Created by lanou3g on 16/5/17.
//  Copyright © 2016年 liu. All rights reserved.
//

#import "PlayerDetailsTableViewCell.h"
#import "UIImageView+WebCache.h"

@interface PlayerDetailsTableViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *userImageView;
@property (weak, nonatomic) IBOutlet UILabel *userName;
@property (weak, nonatomic) IBOutlet UILabel *detailLable;
@property (weak, nonatomic) IBOutlet UILabel *timeLable;
@property (weak, nonatomic) IBOutlet UIButton *GoodButton;
@property (weak, nonatomic) IBOutlet UILabel *contentLable;



@end

@implementation PlayerDetailsTableViewCell

-(void)layoutSubviews{
    
    [self.userImageView sd_setImageWithURL:[NSURL URLWithString:self.model.timg]];
    self.userName.text = self.model.n;
    self.detailLable.text = self.model.f;
    self.timeLable.text = self.model.t;
    self.contentLable.text = self.model.b;
    
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
